package cn.kgc.springcloud.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author 课工场
 * @date 2023/10/12
 * @description
 */
@FeignClient(value = "HYSTRIXSERVICE",fallback = HystrixClientFallback.class)
public interface HystrixClient {

    @RequestMapping("/hystrix/m1")
    String method1(@RequestParam("id") Integer id);


}
